package com.coderush.admin.sys.model.vo;

import com.coderush.admin.core.annotation.ConvertStrIdField;
import lombok.Data;

import java.util.List;

/**
 * PackageName com.coderush.admin.sys.model.vo
 *
 * @Author Eason
 * @Version v1.0
 * @ClassName MenuSimpleVo
 * @Date 2025/9/4
 * @Description TODO
 */
@Data
public class MenuSimpleVo {

    /**
     * 菜单id
     */
    @ConvertStrIdField(sourceFieldName = "id")
    private String id;

    /**
     * 父级菜单id
     */
    private Long parentId;

    /**
     * 菜单名称
     */
    private String menuName;

    /**
     * 子菜单
     */
    private List<MenuSimpleVo> children;
}